package com.zuxia.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractDepart entity provides the base persistence definition of the Depart
 * entity. @author MyEclipse Persistence Tools
 */

public class Depart implements java.io.Serializable {

	// Fields

	private int departId;
	private String departName;
	private String departRemark;
	private Set recruits = new HashSet(0);
	private Set posits = new HashSet(0);

	// Constructors

	/** default constructor */
	public Depart() {
	}

	/** minimal constructor */
	public Depart(String departName) {
		this.departName = departName;
	}

	/** full constructor */
	public Depart(String departName, String departRemark, Set recruits,
			 Set posits) {
		this.departName = departName;
		this.departRemark = departRemark;
		this.recruits = recruits;
		this.posits = posits;
	}

	// Property accessors

	public int getDepartId() {
		return this.departId;
	}

	public void setDepartId(int departId) {
		this.departId = departId;
	}

	public String getDepartName() {
		return this.departName;
	}

	public void setDepartName(String departName) {
		this.departName = departName;
	}

	public String getDepartRemark() {
		return this.departRemark;
	}

	public void setDepartRemark(String departRemark) {
		this.departRemark = departRemark;
	}

	public Set getRecruits() {
		return this.recruits;
	}

	public void setRecruits(Set recruits) {
		this.recruits = recruits;
	}

	public Set getPosits() {
		return this.posits;
	}

	public void setPosits(Set posits) {
		this.posits = posits;
	}

	@Override
	public String toString() {
		return "Depart [departId=" + departId + ", departName=" + departName + ", departRemark=" + departRemark + "]";
	}

	
}